package com.example.servicea.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.example.servicea.entity.UserRoleEntity;

import java.util.List;

/**
 * @Author hutu.
 * @Date: 2017/10/26 10:19
 */
public interface UserRoleService {
    boolean insert(UserRoleEntity userRole);
    List<UserRoleEntity> selectList(UserRoleEntity userRole);

    Page selectPage(UserRoleEntity userRole, String page, String limit);

    int selectCount(UserRoleEntity userRole);

	UserRoleEntity selectOne(UserRoleEntity userRole);

	UserRoleEntity selectById(String id);

    boolean updateById(UserRoleEntity userRole);

    boolean deleteById(String id);

    boolean deleteBatchIds(String ids);

}